<!--http://localhost:81/panos/gucunrun1128/-->
<!DOCTYPE html>
<html manifest="/manifest/pano.appcache">
<head>
    <title><%= title%></title>
    <!--<meta name="keywords" content="chingkun,bigpixel,giga pixel,"/>-->
    <!--<meta name="description" content="<%= description%>" />-->

    <!--<meta name="viewport" content="target-densitydpi=device-dpi, width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, minimal-ui" />-->
    <!--<meta name="apple-mobile-web-app-capable" content="yes" />-->
    <!--<meta name="apple-mobile-web-app-status-bar-style" content="black" />-->
    <!--<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />-->
    <!--<meta http-equiv="x-ua-compatible" content="IE=edge" />-->

    <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
    <meta name="viewport" content="width=device-width,user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="robots" content="all">

    <link rel="stylesheet" href="/stylesheets/panotpl-benzarena.css">
</head>
<body>
<script>
    var panoinfo = {
        panoid:'<%= panoid%>',
        title:'<%= title%>',
        description:'<%= description%>',
        publishedUrl:"",
        tourxmlpath:'<%= tourxmlpath%>'
    };
</script>

<div id="pano-container">
</div>
<div class="box" style="position:absolute;left:0;top:0;width:100px;height:100px;background: green;"></div>
<script src="http://apps.bdimg.com/libs/jquery/1.11.3/jquery.min.js"></script>
<script src="http://cdn.bigpixel.cn/libs/krpano/1.18.5/tour.js"></script>
<script src="/scripts/bigpixel.base.js"></script>
<script src="/scripts/bigpixel.panoviewer.js"></script>
<script src="/scripts/bigpixel.usertags.js"></script>

<script>
    $(document).ready(function(){
        //bpsviewer=new BigPixelViewer(panoinfo.tourxmlpath,panoinfo.panoid);
        bpsviewer=new BigPixelViewer(panoinfo.tourxmlpath,panoinfo.panoid);
        document.bpsviewer=bpsviewer;
        bpsviewer.embed();

        bpsviewer.UserTags.Init();

        bpsviewer.OnBpsViewerChanged(function(){
            bpsviewer.UserTags.refreshTags();
        });

        //console.log(bpsviewer.UserTags);


    });
    $('.box').click(function(){
        self.prepareNewtag();
    })
    //var _usertags = bpsviewer.UserTags;
</script>

</body>
</html>
